Params

interface Params

The parameters of the BeforeUnloadCallback.

Functions

Link copied to clipboard
open fun isReload(): Boolean
Returns true if the web page is going to be reloaded, false when a new navigation is started.
Link copied to clipboard
Returns a string that represents the localized text of the "Leave" action.
Link copied to clipboard
open fun message(): String
Returns a string that represents the localized text of the before unload warning.
Link copied to clipboard
Returns a string that represents the localized text of the "Stay" action.
Link copied to clipboard
open fun title(): String
Returns a string that represents the localized dialog title.